* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: linear-gradient(135deg, #0c1426 0%, #1a2332 100%);
  color: #ffffff;
  overflow-x: hidden;
}

#app {
  min-height: 100vh;
  width: 100%;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* 全局动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

.slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

.pulse {
  animation: pulse 2s infinite;
}

/* 强制覆盖Arco Design菜单项样式 */
.arco-menu-item {
  color: #e8f4fd !important;
  background: transparent !important;
}

.arco-menu-item-title {
  color: #e8f4fd !important;
}

.arco-menu-item:not(.arco-menu-item-selected):not(:hover) {
  background: transparent !important;
  color: #e8f4fd !important;
}

.arco-menu-item:hover {
  background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%) !important;
  color: #ffffff !important;
}

.arco-menu-item-selected {
  background: rgba(79, 172, 254, 0.1) !important;
  color: #4facfe !important;
}
